package com.ctsi.ssdc.repository;

import com.ctsi.ssdc.domain.LitemallCouponUser;

import java.util.List;

import com.ctsi.ssdc.domain.LitemallCouponUserExample;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Options;
import org.apache.ibatis.annotations.Param;

/**
 * @author ctsi-biyi-generator
*/
@Mapper
public interface LitemallCouponUserRepository extends BaseRepository<LitemallCouponUser, Integer, LitemallCouponUserExample> {
    @Override
    long countByExample(LitemallCouponUserExample example);

    @Override
    int deleteByExample(LitemallCouponUserExample example);

    @Override
    int deleteByPrimaryKey(Integer id);

    @Options(useGeneratedKeys=true, keyProperty="id")
    @Override
    int insert(LitemallCouponUser record);

    @Options(useGeneratedKeys=true, keyProperty="id")
    @Override
    int insertSelective(LitemallCouponUser record);

    @Override
    List<LitemallCouponUser> selectByExample(LitemallCouponUserExample example);

    @Override
    LitemallCouponUser selectByPrimaryKey(Integer id);

    @Override
    int updateByExampleSelective(@Param("record") LitemallCouponUser record, @Param("example") LitemallCouponUserExample example);

    @Override
    int updateByExample(@Param("record") LitemallCouponUser record, @Param("example") LitemallCouponUserExample example);

    @Override
    int updateByPrimaryKeySelective(LitemallCouponUser record);

    @Override
    int updateByPrimaryKey(LitemallCouponUser record);
}